import request from "@/utils/request";

// 查询项目实施列表
export function listImplementation(query) {
  return request({
    url: "/project/implementation/list",
    method: "get",
    params: query,
  });
}

// 查询项目实施详细
export function getImplementation(id) {
  return request({
    url: "/project/implementation/" + id,
    method: "get",
  });
}

// 新增项目实施
export function addImplementation(data) {
  return request({
    url: "/project/implementation",
    method: "post",
    data: data,
  });
}

// 修改项目实施
export function updateImplementation(data) {
  return request({
    url: "/project/implementation",
    method: "put",
    data: data,
  });
}

// 删除项目实施
export function delImplementation(id) {
  return request({
    url: "/project/implementation/" + id,
    method: "delete",
  });
}

export function editProjectImplementation(data) {
  return request({
    url: "/project/implementation/editProjectImplementation",
    method: "post",
    data,
  });
}
